﻿using MediatR;
namespace Customer.API.Applcation.Command.VendorCommand
{
    public class AddVendorCommand:IRequest<int>
    {
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string? VendorCode { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string? VendorName { get; set; }
        /// <summary>
        /// 供应商类型
        /// </summary>
        public string? VendorType { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string? Vphone { get; set; }
        /// <summary>
        /// 传真
        /// </summary>
        public string? Vfax { get; set; }
        /// <summary>
        /// Email
        /// </summary>
        public string? Email { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string? Vcontact { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? Vaddress { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatTime { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string? Describe { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? State { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }
    }
}
